Skip to content

add inline parsing for admonition titles to enable formatting#607

Open
protogenes wants to merge 1 commit intovsch:masterfrom
protogenes:master
Open

add inline parsing for admonition titles to enable formatting#607
protogenes wants to merge 1 commit intovsch:masterfrom
protogenes:master

Conversation

@protogenes
Copy link

This change enables inline formatting in admonitions.
For this a new AdmonitionTitle node is introduced as the first child of an AdmonitionBlock.
I'm not happy about the inlined visitChildren in both renderer and formatter to skip over the title node.

Any hints for improvement?

!!! info "Test *inline* `formatting` for [admonition titles](https://github.com/vsch/flexmark-java/wiki/Extensions#admonition)"
    This change enables inline formatting in admonitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant